package com.cyl.wms.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseAudit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 货区对象 wms_area
 * 
 * @author zcc
 */
@ApiModel(description="货区对象")
@Data
@TableName("wms_address")
public class Address extends BaseAudit {

    /*`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '地址码表',
    `addr_no` varchar(20) NOT NULL COMMENT '地址码(条码或二维码)',
    `addr_name` varchar(60) NOT NULL COMMENT '地址码名称',
    `area_id` bigint(20) DEFAULT NULL COMMENT '所属库区',
    `warehouse_id` bigint(20) NOT NULL COMMENT '所属仓库ID',*/
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("地址码编号")
    @Excel(name = "地址码编号")
    @TableField("addr_no")
    private String addrNo;

    @ApiModelProperty("地址码名称")
    @Excel(name = "地址码名称")
    private String addrName;

    @ApiModelProperty("所属库区ID")
    @Excel(name = "所属库区ID")
    private Long areaId;

    @ApiModelProperty("所属仓库ID")
    @Excel(name = "所属仓库ID")
    private Long warehouseId;

    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    @ApiModelProperty("删除标识")
    private Integer delFlag;

}
